package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * projectName: forth
 *
 * @author: MaTianWei
 * time: 2021/8/2 20:31
 * description:
 */
@SpringBootApplication
public class ConsumerApplication {
    public static void main(String[] args) {
        //args参数一定要加,作用是在栈上运行的时候,通过命令运行java -jar xxx.jar
        //jvm优化的参数,设置的堆内存大小,栈内存大小等参数是通过args传入底层tomcat的,如果不加这个参数,以后线上运行的项目,无法做参数优化
        SpringApplication.run(ConsumerApplication.class,args);
    }
}
